// StiLibMng.cpp: implementation of the CStiLibMng class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "CrossStitch.h"
#include "StiLibMng.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CStiLibMng* CStiLibMng::_instance = NULL;

CStiLibMng::CStiLibMng()
{

}

CStiLibMng::~CStiLibMng()
{
	POSITION pos = m_ListStiLibs.GetHeadPosition();
	while (pos)
	{
		CStiLib* lib = m_ListStiLibs.GetNext(pos);
		delete lib;
		lib = NULL;
	}
}


